<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
		<title>{$pageData.title}</title>
		<link rel="stylesheet" href="__STATIC__/home/js/layui/css/layui.css" />
		<link rel="stylesheet" href="__STATIC__/home/css/admin.css" />
		<script type="text/javascript" src="__STATIC__/home/js/jquery.min.js"></script>
		<script type="text/javascript" src="__STATIC__/home/js/layui/layui.js"></script>
		<style>
			.layui-input-block>span { line-height: 36px;}
		</style>
	</head>

	<body class="pd30">
		<div class="center-nav f20">{$pageData.title}</div>
		<div class="center-from b-w">
			<ul class="center-from-ul clearfix">
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">会员编号：</label>
						<div class="layui-input-block">
							<span id="mid"></span>
						</div>
					</div>
				</li>
			
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">用户姓名：</label>
						<div class="layui-input-block">
							<span id="mname"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">电话号码：</label>
						<div class="layui-input-block">
							<span id="phone"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">创建时间：</label>
						<div class="layui-input-block">
							<span id="create_time"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">推荐人：</label>
						<div class="layui-input-block">
							<span id="inviter_id"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">安置人：</label>
						<div class="layui-input-block">
							<span id="seter_id"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">报单中心：</label>
						<div class="layui-input-block">
							<span id="agent_id"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">用户等级：</label>
						<div class="layui-input-block">
							<span id="level_name"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">类型：</label>
						<div class="layui-input-block">
							<span id="type"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">大区：</label>
						<div class="layui-input-block">
							<span id="area"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">是否代理：</label>
						<div class="layui-input-block">
							<span id="is_agent"></span>
						</div>
					</div>
				</li>
				<li class="width6">
					<div class="layui-form-item">
						<label class="layui-form-label">状态：</label>
						<div class="layui-input-block">
							<span id="status"></span>
						</div>
					</div>
				</li>
			</ul>
		</div>
		<script type="text/javascript">
			$(function() {
				getInfo();
			});

			function getInfo() {
				$.ajax({
					'type': 'post',
					'dataType': 'json',
					'data': '',
					'url': "{:url('user.api/info')}",
					'success': function(data) {
						$("#mid").html(data.mid);
						$("#mname").html(data.mname);
						$("#phone").html(data.phone);
						$("#create_time").html(data.create_time);
						$("#inviter_id").html(data.inviter_id);
						$("#seter_id").html(data.seter_id);
						$("#agent_id").html(data.agent_id);
						$("#level_name").html(data.level_name);
						$("#type").html(data.type);
						$("#area").html(data.area);
						$("#is_agent").html(data.is_agent);
						$("#status").html(data.status);
					}
				});
			}
		</script>
	</body>

</html>